#!/usr/bin/python
# -*- coding: UTF-8 -*-

"""
题目：练习按位异或^
"""

if __name__ == '__main__':
	a = 077
	b = a ^ 3
	print 'a ^ b = %d' % b
	b ^= 7
	print 'a ^ b = %d' % b